package com.zmj.sy.mom.srv.aps.bean.vo.apsbatch;

import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.time.LocalDateTime;
import java.util.ArrayList;
import java.util.List;

@Getter
@Setter
public class ApsBatchListResVo {

    private String newId;

    private Integer id;

    @ApiModelProperty("类型 1批次 2订单")
    private Integer type;

    @ApiModelProperty("排程批次")
    private String batchNo;

    @ApiModelProperty("排产规则")
    private Integer schedulingRule;

    @ApiModelProperty("订单编号")
    private String orderCode;

    @ApiModelProperty("施工号")
    private String constructNo;

    @ApiModelProperty("订单数量")
    private Integer orderQty;

    @ApiModelProperty("物料编号")
    private String materCode;

    @ApiModelProperty("物料名称")
    private String materName;

    @ApiModelProperty("排产状态 1未发布 2已发布")
    private Integer status;

    @ApiModelProperty("排产时间")
    private LocalDateTime schedulingDateTime;

    private List<ApsBatchListResVo> data = new ArrayList<>();



}
